package com.xingshang.service;

import com.xingshang.model.po.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author 87547
 * @description 针对表【wn_user】的数据库操作Service
 * @createDate 2025-04-01 08:37:17
 */
public interface UserService extends IService<User> {

    public User login(String account, String password);

    public int insertUser(String account,
                          String password,
                          String email,
                          String telphone,MultipartFile avatar) throws IOException;

    public String saveAvatar(MultipartFile avatarFile) throws IOException;
}
